package com.leenmvc.core.security.entity.core;


import com.leenmvc.core.annotation.DbInfo;
import com.leenmvc.core.annotation.PrimaryKey;
import com.leenmvc.core.base.BaseEntity;

/**
 *
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0 2020-03-05
 */
@DbInfo(value = "sys_api_param", comment = "API参数")
public class SysApiParam extends BaseEntity {

    @PrimaryKey
    private Long id;

    private Long apiId;
    /**
     * 参数名
     */
	private String paramName;
    /**
     * 参数类型
     */
	private String paramType;

    /**
     * 参数数据类型
     */
    private String paramDataType;
    /**
     * 是否必须
     */
	private Integer required;
    /**
     * 参数说明
     */
	private String note;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getApiId() {
        return apiId;
    }

    public void setApiId(Long apiId) {
        this.apiId = apiId;
    }

    public String getParamName() {
        return paramName;
    }

    public String getParamDataType() {
        return paramDataType;
    }

    public void setParamDataType(String paramDataType) {
        this.paramDataType = paramDataType;
    }

    public void setParamName(String paramName) {
        this.paramName = paramName;
    }

    public String getParamType() {
        return paramType;
    }

    public void setParamType(String paramType) {
        this.paramType = paramType;
    }

    public Integer getRequired() {
        return required;
    }

    public void setRequired(Integer required) {
        this.required = required;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }
}
